package controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import service.Userservice;

@Controller
@RequestMapping("/user")
public class UserController {

@Autowired
private Userservice userservice;
    @RequestMapping("/list")
    public String findAll(){
        return "list";

    }

    @RequestMapping("/add")
    public String add(){
        return "add";
    }
    @RequestMapping("/update")
    public String update(){
        return "update";
    }









}


